package com.wpen.unit.web.dto.job;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

import com.wpen.unit.commun.BaseRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "依赖信息-批次列表查询(请求)")
@Data
@EqualsAndHashCode(callSuper = false)
public class DependonBatchListRequest extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description = "自身类型")
    @Size(min = 0, max = 1)
    @NotEmpty
    private String selfType;
    @Schema(description = "业务系统编号")
    @Size(min = 0, max = 16)
    private String bizCode;
    @Schema(description = "批次编号")
    @Size(min = 0, max = 16)
    private String batchCode;
    @Schema(description = "任务编号")
    @Size(min = 0, max = 16)
    private String taskCode;
    @Schema(description = "任务作业编号")
    @Size(min = 0, max = 16)
    private String jobCode;
    @Schema(description = "启用状态")
    @Size(min = 0, max = 1)
    private String enabled;

}